﻿<base:BaseUserControl x:Class="WebSiteAdminTool.UI.Views.CustomControls.SaveCancelButtonsControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:base="clr-namespace:WebSiteAdminTool.UI.Views.Base"
    mc:Ignorable="d"
    d:DesignHeight="40" 
    d:DesignWidth="250">

    <Grid x:Name="LayoutRoot"  Style="{StaticResource SaveCancelButtonsGridStyle}">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="*" />
            <ColumnDefinition Width="98" />
            <ColumnDefinition Width="98" />
        </Grid.ColumnDefinitions>
        <Button Style="{StaticResource SaveCancelButtonStyle}" Content="Save" 
                Command="{Binding Path=SaveCommand}"
                Grid.Row="0" Grid.Column="1"/>
        <Button Style="{StaticResource SaveCancelButtonStyle}" Content="Cancel" 
                Command="{Binding Path=CancelEditCommand}"
                Grid.Row="0" Grid.Column="2"/>
    </Grid>
</base:BaseUserControl>
